#ifndef RTPSTHREAD_H
#define RTPSTHREAD_H

#include <QThread>

#include "ffmpeg.h"
#include "hwffmpegfind.h"
#include "../configure.h"

class RtpsThread : public QObject
{
    Q_OBJECT
public:
    explicit RtpsThread(QObject *parent = nullptr);
    ~RtpsThread();

    void run();
    void setFFmpeg(FFmpeg *ffmpeg);
    void setHWFFmpegFind(HWFFmpegFind *hw_ffmpeg_find);

    void stopThread();

private:
    FFmpeg *m_ffmpeg;
    HWFFmpegFind *m_hw_ffmpeg_find;
};

#endif // RTPSTHREAD_H
